package com.alibaba.ecool.service;

import java.util.List;
import java.util.Random;

import com.alibaba.ecool.dao.impl.ClozeContentDAOImpl;
import com.alibaba.ecool.dao.impl.ClozeDAOImpl;
import com.alibaba.ecool.dao.impl.ClozeQuestionDAOImpl;

public interface ClozeEditService {
	public ClozeContentDAOImpl getClozeContentDAOImpl() ;
	public void setClozeContentDAOImpl(ClozeContentDAOImpl clozeContentDAOImpl) ;
	public ClozeDAOImpl getClozeDAOImpl() ;
	public void setClozeDAOImpl(ClozeDAOImpl clozeDAOImpl) ;
	public ClozeQuestionDAOImpl getClozeQuestionDAOImpl();
	public void setClozeQuestionDAOImpl(ClozeQuestionDAOImpl clozeQuestionDAOImpl) ;
	public int getClozeCount();
	public void setClozeCount(int clozeCount) ;
		
	public void SetDomain(String testSort);
	public int getClozeCount(String testsort,int maxDiff, int minDiff) ;

	public List randomCloze(String testsort);
}
